import axios  from "@/utils/axios";
// 删除一个或多个流动人口数据
export const deleteKey = (ids) => {
  const deleteRequests = ids.map(id => {
    return axios({
      url: `/key/manage/delete`,
      method: "DELETE",
      params: { id }
    });
  });
  return Promise.all(deleteRequests);
};
